package com.nais.mapper;

import com.nais.domain.OrderCourse;
import com.nais.domain.OrderCourseCriteria;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OrderCourseMapper {
    long countByExample(OrderCourseCriteria example);

    int deleteByExample(OrderCourseCriteria example);

    int deleteByPrimaryKey(Long id);

    int insert(OrderCourse record);

    int insertSelective(OrderCourse record);

    List<OrderCourse> selectByExample(OrderCourseCriteria example);

    OrderCourse selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") OrderCourse record, @Param("example") OrderCourseCriteria example);

    int updateByExample(@Param("record") OrderCourse record, @Param("example") OrderCourseCriteria example);

    int updateByPrimaryKeySelective(OrderCourse record);

    int updateByPrimaryKey(OrderCourse record);
}